package com.net.shop.car.manager.api.volley.response;

import java.util.List;

import org.json.JSONArray;
import org.json.JSONException;

import com.net.shop.car.manager.api.model.OilCard;
import com.net.shop.car.manager.api.model.OilCardDetail;
import com.net.shop.car.manager.api.volley.Response;
import com.net.shop.car.manager.utils.Constants;

/**
 * @author Deve
 *
 */
public class GetCardDetailResponse extends Response {

	private OilCard oilCard;
	
	private List<OilCardDetail> oilCardDetails;
	/**
	 * 
	 */
	public GetCardDetailResponse() {
		super(Constants.CARD_DETAIL);
	}
	
	@Override
	public String getContentTag() {
		// TODO Auto-generated method stub
		return "info";
	}
	
	@Override
	public void parseContent(String content) {
		try {
			JSONArray jsonArray = new JSONArray(content);
			for (int i = 0; i < jsonArray.length(); i++) {
				
			}
		} catch (JSONException e) {
			
		}
		
	}

}
